package com.airS.task.fileMgr.security.shiro.filter;

import org.springframework.beans.factory.InitializingBean;

/**
 * 退出过滤类
 * Created by alan on 2017/3/14.
 */
public class LogoutFilter extends org.apache.shiro.web.filter.authc.LogoutFilter implements InitializingBean{

    private String redirectUrl = "/admin/login";

    @Override
    public void afterPropertiesSet() throws Exception {
        setRedirectUrl(redirectUrl);
    }
}
